<?php
/**
 * DonRey 2012 Example File - index.php
 * This is an example on how to create the global entry point for a project ( and use URL-Rewriter to point all paths to this file )
 *
 * This file is usually named "index.php" and is located in the project's web root
 */

/**
 * The bootstrapper file loads the core, the exception texts (default in English) and most importantly, instructs the core to load the "CONFIG" file.
 * This configuration file ( usually named "project-config.xml" ) is mandatory and contains configuration for all modules used by your project.
 * Actually, it's not possible to use a module without it being mentioned in the configuration file. See the example configuration files for more information.
 */
require "../DonReY_BootStrap_live.php"; // remove _live (this is only used on the examples site ( http://www.donrey.net/examples/entry-point.php )

/**
 * At this point the "Core" should be loaded and ready to instance modules.
 * Any module can now be used, DonReY loads them automatically at first use
 *
 * For example, run the sample module named "test"
 */
DRY\core::test()-> do_Something();

// Debugging with DonReY is very easy, just type:
dd(1337, "Hello World, I'm a number"); // This should send the debug string or variable/constant to any registered debugger